package com.song.po;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
@Data
@TableName(value = "t_room")
public class Room implements Serializable {
   @TableId(value = "room_id",type = IdType.AUTO)
   private Integer roomId;
   @TableField(value = "room_address")
   private String roomAddress;
   @TableField(value = "capacity")
   private Integer capacity;//可容纳人数
   @TableField(value = "residents_number")
   private Integer residentsNumber;//已住人数
   @TableField(value = "rend")
   private String rend;
   @TableField(value = "landlord")
   private String landlord;//房东
   @TableField(value = "landlord_tell")
   private String landlordTell;
   @TableField(value = "room_type")
   private String roomType;
   @TableField(value = "room_status")
   private String roomStatus;
}
